/**
 * @desc antd全局图标配置
 * */
import React from "react";
// import * as Icon from '@ant-design/icons';
import PropTypes from 'prop-types'


class TheIcons extends React.Component {
    render() {
        // const {type, color} = this.props;
        return (
            <span>
                {/*{
                    React.createElement(Icon[type], {
                        style: {
                            color: color
                        }
                    })
                }*/}
            </span>
        );
    }
}

TheIcons.propTypes = {
    type: PropTypes.string,
    color: PropTypes.string
}
export default TheIcons
